package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * @Description 突袭 进攻 结果 日志
 * @Author cwq
 * @Data 2022/2/22 21:31
 */
@FieldTypeAnnotation(tableName = "t_c_ck_activity_seacraftsouthsea_attack_log",desc = "南海丝路-船员小队突袭、进攻日志",autoSave = true,uploadCk = true,isCross = true)
public class LogSeacraftSouthSeaAttack extends ServerBaseLog{
    @FieldTypeAnnotation(desc = "活动id",isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "商会id",isIndex = true)
    private String unionId;
    @FieldTypeAnnotation(desc = "商会与终点的距离 ")
    private long distance;
    @FieldTypeAnnotation(desc = "玩家id",isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "职业")
    private long teamType;
    @FieldTypeAnnotation(desc = "进攻类型")
    private long type;

    @FieldTypeAnnotation(desc = "敌方商会id")
    private String targetUnionId;
    @FieldTypeAnnotation(desc = "敌方商会与终点的距离 ")
    private long targetDistance;
    @FieldTypeAnnotation(desc = "累计击杀门客数")
    private int killNum;
    @FieldTypeAnnotation(desc = "连胜次数")
    private int winStreakNum;
    @FieldTypeAnnotation(desc = "是否全歼")
    private boolean killAll;
    @FieldTypeAnnotation(desc = "战斗奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "获得勋章数量")
    private int medalNum;

    public LogSeacraftSouthSeaAttack(int activityId, String unionId, long distance, long userId, long teamType, long type, String targetUnionId, long targetDistance, int killNum, int winStreakNum, boolean killAll, String reward,int medalNum, long time) {
        this.activityId = activityId;
        this.unionId = unionId;
        this.distance = distance;
        this.userId = userId;
        this.teamType = teamType;
        this.type = type;
        this.targetUnionId = targetUnionId;
        this.targetDistance = targetDistance;
        this.killNum = killNum;
        this.winStreakNum = winStreakNum;
        this.killAll = killAll;
        this.reward = reward;
        this.medalNum = medalNum;
        this.time = time;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public long getDistance() {
        return distance;
    }

    public void setDistance(long distance) {
        this.distance = distance;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getTeamType() {
        return teamType;
    }

    public void setTeamType(long teamType) {
        this.teamType = teamType;
    }

    public long getType() {
        return type;
    }

    public void setType(long type) {
        this.type = type;
    }

    public String getTargetUnionId() {
        return targetUnionId;
    }

    public void setTargetUnionId(String targetUnionId) {
        this.targetUnionId = targetUnionId;
    }

    public long getTargetDistance() {
        return targetDistance;
    }

    public void setTargetDistance(long targetDistance) {
        this.targetDistance = targetDistance;
    }

    public int getKillNum() {
        return killNum;
    }

    public void setKillNum(int killNum) {
        this.killNum = killNum;
    }

    public int getWinStreakNum() {
        return winStreakNum;
    }

    public void setWinStreakNum(int winStreakNum) {
        this.winStreakNum = winStreakNum;
    }

    public boolean isKillAll() {
        return killAll;
    }

    public void setKillAll(boolean killAll) {
        this.killAll = killAll;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public int getMedalNum() {
        return medalNum;
    }

    public void setMedalNum(int medalNum) {
        this.medalNum = medalNum;
    }

}
